package com.ehotting.edsta.circuitDesign.gen.element.script;

import com.ehotting.edsta.circuitDesign.domain.EsCircuitCodeDataTemplate;
import com.ehotting.edsta.circuitDesign.domain.EsRuleScript;
import com.ehotting.edsta.circuitDesign.domain.EsSceneParam;
import com.ehotting.edsta.circuitDesign.gen.element.enums.ScriptTypeEnum;

import java.util.List;

public interface ElementScriptAble {

    public String invoke(EsRuleScript esRule, List<EsCircuitCodeDataTemplate> inputParamList, List<EsSceneParam> outputParamList, String functionName);

    public boolean isTrue(ScriptTypeEnum code);

    public String getExample();

}
